package com.scpii.universal.dto;

public class SortColumnsDto {

	private int intSortId;
	private String varSortName;
	private int intIsAttr;
	private int intIsSelect;
	private int intSortRule;
	private int intColumnOrder;

	public SortColumnsDto() {
		super();
	}

	public SortColumnsDto(int intSortId, String varSortName, int intIsAttr,
			int intIsSelect, int intColumnOrder) {
		super();
		this.intSortId = intSortId;
		this.varSortName = varSortName;
		this.intIsAttr = intIsAttr;
		this.intIsSelect = intIsSelect;
		this.intColumnOrder = intColumnOrder;
	}

	public SortColumnsDto(int intSortId, int intIsAttr, int intColumnOrder,
			int intSortRule) {
		super();
		this.intSortId = intSortId;
		this.intIsAttr = intIsAttr;
		this.intColumnOrder = intColumnOrder;
		this.intSortRule = intSortRule;
	}

	public int getIntSortId() {
		return intSortId;
	}

	public void setIntSortId(int intSortId) {
		this.intSortId = intSortId;
	}

	public String getVarSortName() {
		return varSortName;
	}

	public void setVarSortName(String varSortName) {
		this.varSortName = varSortName;
	}

	public int getIntIsAttr() {
		return intIsAttr;
	}

	public void setIntIsAttr(int intIsAttr) {
		this.intIsAttr = intIsAttr;
	}

	public int getIntIsSelect() {
		return intIsSelect;
	}

	public void setIntIsSelect(int intIsSelect) {
		this.intIsSelect = intIsSelect;
	}

	public int getIntColumnOrder() {
		return intColumnOrder;
	}

	public void setIntColumnOrder(int intColumnOrder) {
		this.intColumnOrder = intColumnOrder;
	}

	public int getIntSortRule() {
		return intSortRule;
	}

	public void setIntSortRule(int intSortRule) {
		this.intSortRule = intSortRule;
	}

	@Override
	public boolean equals(Object obj) {
		SortColumnsDto o = (SortColumnsDto) obj;
		if (this.intSortId == o.getIntSortId()
				&& this.intIsAttr == o.getIntIsAttr())
			return true;
		return false;
	}

	@Override
	public int hashCode() {
		return super.hashCode();
	}
}
